import dto.UserDTO;
import facade.UserFacade;

/**
 * @Author: liull
 * @Description:
 * @Date: Created in 19:45 2021/1/28
 * @Modified By:
 */
public class App {
    public static void main(String[] args) {
        RpcProxyClient client = new RpcProxyClient();
        UserFacade facade = client.clientProxy(UserFacade.class, "localhost", 10000);
        UserDTO dto = facade.queryById(10L);
        System.out.println(dto);
    }
}
